<!--
  * 403 无权限 页面
  * 
  * @Author:    zhoujk
  * @Date:      2025-02-05 16:48
-->
<template>
  <a-result status="403" title="对不起，您没有权限访问此内容">
    <template #extra>
      <a-button type="primary" @click="goHome">返回首页</a-button>
    </template>
  </a-result>
</template>
<script setup>
  import { useRouter } from 'vue-router'
  import { HOME_PAGE_NAME } from '/@/constants/system/home-const'

  const router = useRouter()
  function goHome() {
    router.push({ name: HOME_PAGE_NAME })
  }
</script>
